﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TVGuide.Common;
using System.Text.RegularExpressions;

namespace TVGuide.Parser
{
    public class EterParserEngine
    {
        public static List<TVProgram> ParseSpecificProgram(string programName, int dayOfYear)
        {
            //shoxakat/today.shtml
            List<TVProgram> tvProgramList = new List<TVProgram>();
            //Western European (Windows) encoding
            Encoding enc = Encoding.GetEncoding(1252);
            string eterURL = ChannelUrls.ETER_ARM_URL + "/"+programName+"/" + "today.shtml";
            var eterHTMLString = HTTPClient.GetSiteContent(eterURL, enc, "EterAmSite");
            

            return tvProgramList;
        }
    }
}
